<div class="pageContent">
    <form method="post" action="sys/authorize/<#if (rolePermission.id)??>update<#else>save</#if>"
		  class="pageForm required-validate" onsubmit="return validateCallback(this, navTabAjaxDone);">
       <input type=hidden name="rolePermission.id"  value="${(rolePermission.id)!}">
	<div class="pageFormContent" layoutH="56">

		<dl>
			<dt>角色：</dt>
			<dd>
				<select name="rolePermission.roleid" class="combox">
					<option value="">---请选择---</option>
					<#list roleList as s>
						<option value="${(s.roleid)!}" <#if (rolePermission)?? && rolePermission.roleid==s.roleid>selected="selected"</#if>>${(s.name)!}</option>
					</#list>
				</select>
			</dd>
		</dl>
		<dl>
			<dt>页面：</dt>
			<dd>
				<select name="rolePermission.pid" class="combox">
					<option value="">---请选择---</option>
					<#list permissionList as s>
						<option value="${(s.id)!}" <#if (rolePermission)?? && rolePermission.pid==s.id>selected="selected"</#if>>${(s.memo)!}</option>
					</#list>
				</select>

			</dd>
		</dl>
		</div>
		<div class="formBar">
			<ul>
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">提交</button></div></div></li>
				<li><div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div></li>
			</ul>
		</div>
	</form>
</div>
